#!/usr/bin/python3
import threading
import time
import Serial
from Serial_thread import Serial_thread
from Comm_thread import Comm_thread
from Window import Window

window = Window()

comm_thread = Comm_thread(window)
comm_thread.setDaemon(True)
comm_thread.start()

serial_thread = Serial_thread(window)
serial_thread.setDaemon(True)
serial_thread.start()

window.start()